﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YnPlcDataServer.Entities
{
    /// <summary>状态变量定义表</summary>
    public class YnSvid
    {
        /// <summary>采集器id</summary>
        public int svid_id { get; set; }
        /// <summary>序号</summary>
        public int sortno { get; set; }
        /// <summary>创建时间</summary>
        public DateTime createTime { get; set; }
        /// <summary>修改时间</summary>
        public DateTime updateTime { get; set; }
        /// <summary>变量名称</summary>
        public string name { get; set; }
        /// <summary>数据类型</summary>
        public string date_type { get; set; }
        /// <summary>数据地址</summary>
        public string address { get; set; }
        /// <summary>数据长度</summary>
        public int length { get; set; }
        /// <summary>规格上限</summary>
        public decimal upper_spec_limit { get; set; }
        /// <summary>规格目标</summary>
        public decimal spec_target { get; set; }
        /// <summary>规格下限</summary>
        public decimal lower_spec_limit { get; set; }
    }
}
